package com.ftg.learn.chapter17.card;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.val;

/**
 * @author KangJx
 * @date 2021/8/13
 */
@Data
//自动帮我们生成getter/setter
@AllArgsConstructor
//当我们生成所有参数的构造方法
@NoArgsConstructor
public class Card {

    /**
     * 牌的面值
     * A2 3 J Q K
     */
    private String val;

    private CardType type;

}
